package main

import (
	stock "cloudWego/kitex_gen/example/shop/stock"
	"context"
)

// StockServiceImpl implements the last service interface defined in the IDL.
type StockServiceImpl struct{}

// GetItemStock implements the StockServiceImpl interface.
func (s *StockServiceImpl) GetItemStock(ctx context.Context, req *stock.GetItemStockReq) (resp *stock.GetItemStockResp, err error) {
	// TODO: Your code here...
	resp = stock.NewGetItemStockResp()
	resp.Stock = 1111111111
	//resp.BaseResp.Msg = "stock"
	//resp.BaseResp.Code = "v2"
	return
}
